package com.yami.shop.mystery.common.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 *  盲盒盒子库存
 *
 * @author wxf
 * @date 2023/4/10 16:57
 */
@Data
@TableName("tz_mystery_box_sku")
public class MysteryBoxSku implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @Schema(description = "主键")
    private Long id;

    @Schema(description = "盲盒盒子id")
    private Long mysteryBoxId;

    @Schema(description = "实际库存")
    private Integer actualStock;

    @Schema(description = "锁定库存")
    private Integer lockStock;

    @Schema(description = "可售卖库存")
    private Integer stocks;

}
